package d1_staticdemo;

public class test {
    public static void main(String[] args) {
        student.name = "袁华";
        student s1 = new student();
        s1.name = "马冬梅";
        student s2 = new student();
        s2.name = "秋雅";
        System.out.println("student.name:" + student.name);
        System.out.println("s1.name:" + s1.name);
        System.out.println("s2.name:" + s2.name);

        s1.age = 8;
        s2.age = 18;
        System.out.println("s1.age:" + s1.age);
        System.out.println("s2.age:" + s2.age);
    }
}
